import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { ErrorPageComponent } from './line/error-page.component';
import { PlaneComponent } from './plane/plane.component';

const routes: Routes = [
    { path: '', component: ErrorPageComponent },
    { path: 'plane', component: PlaneComponent }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class ErrorPageRoutingModule { }
